package com.eastfair.imaster.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 客户池操作记录表
 * </p>
 *
 * @author liuxiaobai
 * @since 2021-11-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CustomerPoolLogsSaveDTO", description = "客户池操作记录表")
public class CustomerPoolLogsSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目ID
     */
    @ApiModelProperty(value = "项目ID")
    private Long projectId;
    /**
     * 展会ID
     */
    @ApiModelProperty(value = "展会ID")
    private Long exhibitionId;
    /**
     * 公司ID
     */
    @ApiModelProperty(value = "公司ID")
    private Long companyId;
    /**
     * 客户池ID
     */
    @ApiModelProperty(value = "客户池ID")
    private Long poolId;
    /**
     * 操作人ID user_account
     */
    @ApiModelProperty(value = "操作人ID user_account")
    private Long operatorId;
    /**
     * 操作人姓名
     */
    @ApiModelProperty(value = "操作人姓名")
    @Size(max = 32, message = "操作人姓名长度不能超过32")
    private String operatorName;
    /**
     * 被分配人ID user_account
     */
    @ApiModelProperty(value = "被分配人ID user_account")
    private Long distributionId;
    /**
     * 被分配人姓名
     */
    @ApiModelProperty(value = "被分配人姓名")
    @Size(max = 32, message = "被分配人姓名长度不能超过32")
    private String distributionName;
    /**
     * 事件类型（NEW-添加 DISTRIBUTION-分配 UNBOUND-解绑）
     */
    @ApiModelProperty(value = "事件类型（NEW-添加 DISTRIBUTION-分配 UNBOUND-解绑）")
    @Size(max = 32, message = "事件类型（NEW-添加 DISTRIBUTION-分配 UNBOUND-解绑）长度不能超过32")
    private String eventType;

}
